const express = require("express");
const router = express.Router();
const handle = require("./handle");
// 登录
router.post("/user/login", handle.login);
// 注册
router.post("/user/register", handle.register);
// 删除
router.post("/user/delete", handle.delete);
// 修改
router.post("/user/edit", handle.edit);
// 查询
router.post("/user/list", handle.list);
module.exports = router;
